package com.one.del.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class OneDelBootReceiver extends BroadcastReceiver{

	@Override
	public void onReceive(Context context, Intent intent) {
		
		Log.d("OneDelBootReceiver", "OneDelBootReceiver onReceive !");
		
		if(!BackGroundService.isRunning){
	        	Intent i = new Intent(context,BackGroundService.class);
	        	context.startService(i);
	    }
	}

}
